package com.hanserwei.han_picture.domain.entity.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.util.List;

@Data
public class PictureStyleRegenTaskVO {

    @JsonProperty("request_id")
    private String requestId;

    private Output output;
    
    private Usage usage;

    @Data
    private static class Output {
        @JsonProperty("task_id")
        private String taskId;
        @JsonProperty("task_status")
        private String taskStatus;
        @JsonProperty("submit_time")
        private String submitTime;
        @JsonProperty("scheduled_time")
        private String scheduledTime;
        @JsonProperty("end_time")
        private String endTime;
        @JsonProperty("error_message")
        private String errorMessage;
        @JsonProperty("start_time")
        private String startTime;
        @JsonProperty("style_index")
        private int styleIndex;
        @JsonProperty("error_code")
        private int errorCode;
        
        private List<Result> results;
    }

    @Data
    private static class Usage {
        @JsonProperty("image_count")
        private int imageCount;
    }

    @Data
    private static class Result {
        private String url;
    }
}